using System;
using System.Runtime.Serialization;

namespace Mbs.Modularity.AddIns
{
    [Serializable()]
    public class AddInLoadException : Exception
    {
        public AddInLoadException(string resource)
            : base("AddIn load exception : " + resource)
        {
        }

        public AddInLoadException()
            : base()
        {
        }

        public AddInLoadException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        protected AddInLoadException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}
